var r = process.argv[2];
var circumference;
var area;
var PI = 3.14;

// let obj = {'circumference: ': circumference,' area: ': area}

var circleFun = {
     circumference: function(){
        circumference = 2*PI*r;
        console.log(circumference);
     },
     area:function(){
        area = PI*r*r;
        console.log(area);
        let obj = {'circumference: ': circumference,' area: ': area};
        console.log(obj);
        return obj;
     }
 }

module.exports = circleFun;